package com.hotelvip.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 用户与会员用户关联表
 * @author Lzh
 * @date 2021/1/20 10:55
 */
@Data
@TableName("ht_user_vip")
@ApiModel(value = "用户与会员用户关联",description = "用户与会员用户关联UserTurnVip")
@Accessors(chain = true)
public class UserTurnVip {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id自增",name = "id")
    private Long id;
    @ApiModelProperty(value = "用户id",name = "userId")
    private Long userId;
    @ApiModelProperty(value = "会员卡号",name = "vipCode")
    private Long vipCode;
}
